Skip to content

Conversation

gvincentlh
Copy link

The local onBlur returns null when the input field has no value. Because result is then falsy, we never invoke the onBlur which is set on props. As long as there is a handler set on props, it should be called regardless of the input value.

Copy link
Contributor

@joefiorini joefiorini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@tom-zeit
Copy link

Hi, any chance to merge this fix? Will help me too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants